package com.ruigi.common;

public class Basecontext {
    private static ThreadLocal<Long> threadLocal=new ThreadLocal<>();
    public static void   setid(Long id) {
            threadLocal.set(id);

    }
    public static Long getid() {
        return threadLocal.get();

    }
}
